package com.study.zouchao.superproject.comtaskdetail;

import android.support.v7.widget.RecyclerView;
import android.view.View;

import com.study.zouchao.superproject.comtaskdetail.model.TaskDetailResult;

/**
 * Created by Administrator on 2017/6/20.
 */

public interface ITaskDetailContract {
    interface ITaskDetailModel {

    }
    interface ITaskDetailView {
        void loadInfos(TaskDetailResult.TaskDetailDataBean data);
        void showRefreshingLoading(boolean isShow);
//        void setAdapter(TravelRecyclerViewAdapter adapter);
        void finishCurrentActivity();

        void showSnackBar(String title, int showLength);

        void showLoading(boolean isShow);
    }
    interface ITaskDetailPresenter {
        void onRefreshingData();
        void onDestroyPresente();
        void initRecyclerView(RecyclerView rv);
        void connEnroll();
    }
}
